<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.12"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Os1: /home/alejandro/Desarrollo eclipse/os1/Thirdparty/DBoW2/DBoW2/ScoringObject.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Os1
   &#160;<span id="projectnumber">1</span>
   </div>
   <div id="projectbrief">OrbSlam2 documentado y modificado</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.12 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,'Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('_scoring_object_8h.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#namespaces">Namespaces</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">ScoringObject.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="_bow_vector_8h_source.html">BowVector.h</a>&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for ScoringObject.h:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="_scoring_object_8h__incl.svg" width="240" height="216"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
</div>
</div><div class="textblock"><div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="_scoring_object_8h__dep__incl.svg" width="3610" height="990"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
</div>
</div>
<p><a href="_scoring_object_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_d_bo_w2_1_1_general_scoring.html">DBoW2::GeneralScoring</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Base class of scoring functions.  <a href="class_d_bo_w2_1_1_general_scoring.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:namespace_d_bo_w2"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_d_bo_w2.html">DBoW2</a></td></tr>
<tr class="memdesc:namespace_d_bo_w2"><td class="mdescLeft">&#160;</td><td class="mdescRight">File: <a class="el" href="_bow_vector_8cpp.html">BowVector.cpp</a> Date: March 2011 Author: Dorian Galvez-Lopez Description: bag of words vector License: see the LICENSE.txt file. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a3922c232b91184a032cb6ff76d4ebac4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_scoring_object_8h.html#a3922c232b91184a032cb6ff76d4ebac4">__SCORING_CLASS</a>(NAME,  MUSTNORMALIZE,  NORM)</td></tr>
<tr class="memdesc:a3922c232b91184a032cb6ff76d4ebac4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Macro for defining Scoring classes.  <a href="#a3922c232b91184a032cb6ff76d4ebac4">More...</a><br /></td></tr>
<tr class="separator:a3922c232b91184a032cb6ff76d4ebac4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a75539718457109a0efbd4778f7fa7369"><td class="memItemLeft" align="right" valign="top">class&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_d_bo_w2.html#a75539718457109a0efbd4778f7fa7369">DBoW2::__SCORING_CLASS</a> (L1Scoring, true, L1)</td></tr>
<tr class="memdesc:a75539718457109a0efbd4778f7fa7369"><td class="mdescLeft">&#160;</td><td class="mdescRight">L1 Scoring object.  <a href="namespace_d_bo_w2.html#a75539718457109a0efbd4778f7fa7369">More...</a><br /></td></tr>
<tr class="separator:a75539718457109a0efbd4778f7fa7369"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae07d9b48e6fefc0f0c01df371c17b3ca"><td class="memItemLeft" align="right" valign="top">class&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_d_bo_w2.html#ae07d9b48e6fefc0f0c01df371c17b3ca">DBoW2::__SCORING_CLASS</a> (DotProductScoring, false, L1)</td></tr>
<tr class="memdesc:ae07d9b48e6fefc0f0c01df371c17b3ca"><td class="mdescLeft">&#160;</td><td class="mdescRight">Dot product Scoring object.  <a href="namespace_d_bo_w2.html#ae07d9b48e6fefc0f0c01df371c17b3ca">More...</a><br /></td></tr>
<tr class="separator:ae07d9b48e6fefc0f0c01df371c17b3ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8b204afc23807ec9a07127d36e88e07f"><td class="memItemLeft" align="right" valign="top">class&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_d_bo_w2.html#a8b204afc23807ec9a07127d36e88e07f">DBoW2::__SCORING_CLASS</a> (BhattacharyyaScoring, true, L1)</td></tr>
<tr class="memdesc:a8b204afc23807ec9a07127d36e88e07f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Bhattacharyya Scoring object.  <a href="namespace_d_bo_w2.html#a8b204afc23807ec9a07127d36e88e07f">More...</a><br /></td></tr>
<tr class="separator:a8b204afc23807ec9a07127d36e88e07f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae19b56aa4101670a2f019358dc621693"><td class="memItemLeft" align="right" valign="top">class&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_d_bo_w2.html#ae19b56aa4101670a2f019358dc621693">DBoW2::__SCORING_CLASS</a> (KLScoring, true, L1)</td></tr>
<tr class="memdesc:ae19b56aa4101670a2f019358dc621693"><td class="mdescLeft">&#160;</td><td class="mdescRight">KL divergence Scoring object.  <a href="namespace_d_bo_w2.html#ae19b56aa4101670a2f019358dc621693">More...</a><br /></td></tr>
<tr class="separator:ae19b56aa4101670a2f019358dc621693"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6f9c1118526ece0dc3ed4054266fbdda"><td class="memItemLeft" align="right" valign="top">class&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_d_bo_w2.html#a6f9c1118526ece0dc3ed4054266fbdda">DBoW2::__SCORING_CLASS</a> (ChiSquareScoring, true, L1)</td></tr>
<tr class="memdesc:a6f9c1118526ece0dc3ed4054266fbdda"><td class="mdescLeft">&#160;</td><td class="mdescRight">Chi square Scoring object.  <a href="namespace_d_bo_w2.html#a6f9c1118526ece0dc3ed4054266fbdda">More...</a><br /></td></tr>
<tr class="separator:a6f9c1118526ece0dc3ed4054266fbdda"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac7a02f9992dcadb8af97192765c6d9d3"><td class="memItemLeft" align="right" valign="top">class&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_d_bo_w2.html#ac7a02f9992dcadb8af97192765c6d9d3">DBoW2::__SCORING_CLASS</a> (L2Scoring, true, L2)</td></tr>
<tr class="memdesc:ac7a02f9992dcadb8af97192765c6d9d3"><td class="mdescLeft">&#160;</td><td class="mdescRight">L2 Scoring object.  <a href="namespace_d_bo_w2.html#ac7a02f9992dcadb8af97192765c6d9d3">More...</a><br /></td></tr>
<tr class="separator:ac7a02f9992dcadb8af97192765c6d9d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a id="a3922c232b91184a032cb6ff76d4ebac4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define __SCORING_CLASS</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">NAME, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">MUSTNORMALIZE, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">NORM&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">NAME: <span class="keyword">public</span> GeneralScoring \</div><div class="line">  { <span class="keyword">public</span>: \ \</div><div class="line">    virtual <span class="keywordtype">double</span> score(<span class="keyword">const</span> BowVector &amp;v, <span class="keyword">const</span> BowVector &amp;w) <span class="keyword">const</span>; \</div><div class="line">    \ \</div><div class="line">    virtual <span class="keyword">inline</span> <span class="keywordtype">bool</span> mustNormalize(<a class="code" href="namespace_d_bo_w2.html#a53e9e0bcfc25c861815e413a7cf3fa51">LNorm</a> &amp;norm) <span class="keyword">const</span>  \</div><div class="line">      { norm = NORM; <span class="keywordflow">return</span> MUSTNORMALIZE; } \</div><div class="line">  }</div><div class="ttc" id="namespace_d_bo_w2_html_a53e9e0bcfc25c861815e413a7cf3fa51"><div class="ttname"><a href="namespace_d_bo_w2.html#a53e9e0bcfc25c861815e413a7cf3fa51">DBoW2::LNorm</a></div><div class="ttdeci">LNorm</div><div class="ttdoc">L-norms for normalization. </div><div class="ttdef"><b>Definition:</b> BowVector.h:29</div></div>
</div><!-- fragment -->
<p>Macro for defining Scoring classes. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">NAME</td><td>name of class </td></tr>
    <tr><td class="paramname">MUSTNORMALIZE</td><td>if vectors must be normalized to compute the score </td></tr>
    <tr><td class="paramname">NORM</td><td>type of norm to use when MUSTNORMALIZE </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_08235c883c2d11e586a63e6645937db5.html">Thirdparty</a></li><li class="navelem"><a class="el" href="dir_d1a1b6b9a428c17d660585cf3877a970.html">DBoW2</a></li><li class="navelem"><a class="el" href="dir_004f071c35dfaac2458bd63a15bbc95f.html">DBoW2</a></li><li class="navelem"><a class="el" href="_scoring_object_8h.html">ScoringObject.h</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.12 </li>
  </ul>
</div>
</body>
</html>
